#ifndef XML_ELEMENT_H_
#define XML_ELEMENT_H_

#include <string>
#include <vector>

#include "XML_Attribut.h"
#include "XML_Noeud.h"

using namespace std;

class XML_Element : public XML_Noeud
{
	protected :

		string name;
		vector<XML_Noeud *> * sub_knots;
		vector<XML_Attribut *> * attributes;
		
	public :

		XML_Element( string name );

		virtual ~XML_Element();
		
		void setSubKnots( vector<XML_Noeud *> * sub_knots );

		void setAttributes( vector<XML_Attribut *> * attributes );

		string toString( unsigned char depth );
};

#endif

